package org.dromara.pe.domain.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import org.dromara.pe.domain.TaskReservation;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 预约审核名单业务对象 phy_pe_task_reservation
 *
 * @author Lion Li
 * @date 2024-09-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TaskReservation.class, reverseConvertGenerate = false)
public class TaskReservationBo extends BaseEntity {

    /**
     * 逻辑主键
     */
    @NotNull(message = "逻辑主键不能为空", groups = { EditGroup.class })
    private Long reservationId;

    /**
     * 体测任务主键
     */
//    @NotNull(message = "体测任务主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long taskId;

    /**
     * 计划名称
     */
//    @NotBlank(message = "计划名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String taskName;

    /**
     * 排班主键
     */
//    @NotNull(message = "排班主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long arrangeId;

    /**
     * 排班名称
     */
//    @NotBlank(message = "排班名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String arrangeName;

    /**
     * 学号
     */
//    @NotBlank(message = "学号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stuNum;


    /**
     * 开始安排日期
     */
    private Date startDate;

    /**
     * 结束安排时间
     */
    private Date endDate;

    /**
     * 查询条件
     */
//    @TableField(exist = false)
    private String startTime;
    /**
     * 查询条件
     */
//    @TableField(exist = false)
    private String endTime;


    private String studentName;

    private String years;

    private Long classId;

    private String gender;

    private String semester;

    private String collegeId;

    private String professionalId;

    private String scheduleName;

    private List<Long> classIds;

    private String grade;

    private Long deptId;





}
